package cn.com.yusys.yusp.admin.domain;

import cn.com.yusys.yusp.commons.mapper.annotation.Generated;
import cn.com.yusys.yusp.commons.mapper.annotation.GenerationType;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * The persistent class for the ADMIN_SM_DATA_AUTH_TMPL database table.
 */
@Entity
@Table(name = "ADMIN_SM_DATA_AUTH_TMPL")
public class AdminSmDataAuthTmpl extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Generated(GenerationType.UUID)
    @Column(name = "AUTH_TMPL_ID")
    private String authTmplId;

    @Column(name = "AUTH_TMPL_NAME")
    private String authTmplName;

    @Column(name = "CONTR_INCLUDE")
    private String contrInclude;

    @Column(name = "LAST_CHG_DT")
    private String lastChgDt;

    @Column(name = "LAST_CHG_USR")
    private String lastChgUsr;

    @Column(name = "SQL_NAME")
    private String sqlName;

    @Column(name = "SQL_STRING")
    private String sqlString;

    @Column(name = "PRIORITY")
    private String priority;

    public AdminSmDataAuthTmpl() {
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getAuthTmplId() {
        return this.authTmplId;
    }

    public void setAuthTmplId(String authTmplId) {
        this.authTmplId = authTmplId;
    }

    public String getAuthTmplName() {
        return this.authTmplName;
    }

    public void setAuthTmplName(String authTmplName) {
        this.authTmplName = authTmplName;
    }

    public String getContrInclude() {
        return this.contrInclude;
    }

    public void setContrInclude(String contrInclude) {
        this.contrInclude = contrInclude;
    }

    public String getLastChgDt() {
        return this.lastChgDt;
    }

    public void setLastChgDt(String lastChgDt) {
        this.lastChgDt = lastChgDt;
    }

    public String getLastChgUsr() {
        return this.lastChgUsr;
    }

    public void setLastChgUsr(String lastChgUsr) {
        this.lastChgUsr = lastChgUsr;
    }

    public String getSqlName() {
        return this.sqlName;
    }

    public void setSqlName(String sqlName) {
        this.sqlName = sqlName;
    }

    public String getSqlString() {
        return this.sqlString;
    }

    public void setSqlString(String sqlString) {
        this.sqlString = sqlString;
    }

    @Override
    public String toString() {
        return "AdminSmDataAuthTmpl{" + "authTmplId='" + authTmplId + '\'' + ", authTmplName='" + authTmplName + '\''
                + ", contrInclude='" + contrInclude + '\'' + ", lastChgDt='" + lastChgDt + '\'' + ", lastChgUsr='" +
                lastChgUsr + '\'' + ", sqlName='" + sqlName + '\'' + ", sqlString='" + sqlString + '\'' + ", " +
                "priority='" + priority + '\'' + '}';
    }
}